home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-02-20 | 2.5 KB | [ TEXT/KAHL]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
Confidence Program Detection Match Type Support
66%
dexvert
Compact Compressed (Unix) (archive/compact)
ext
Supported
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
1%
dexvert
Text File (text/txt)
fallback
Supported
100%
file
MacBinary II, Sun Feb 20 18:31:14 1994, modified Sun Feb 20 18:31:14 1994, creator Think C, type ASCII, 1617 bytes "SkelDlogBtnOutliner.c" , at 0x6d1 738 bytes resource
default (weak)
99%
file
data
default
74%
TrID
Macintosh plain text (MacBinary)
default
25%
TrID
MacBinary 2
default (weak)
100%
siegfried
fmt/1762 MacBinary (II)
default
100%
lsar
MacBinary
default
id metadata key value macFileType [ TEXT] macFileCreator [ KAHL]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 15 53 6b 65 6c 44 6c | 6f 67 42 74 6e 4f 75 74 |..SkelDl|ogBtnOut| |00000010| 6c 69 6e 65 72 2e 63 00 | 00 00 00 00 00 00 00 00 |liner.c.|........| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......| |00000050| 00 00 00 00 00 06 51 00 | 00 02 e2 a9 8d a3 42 a9 |......Q.|......B.| |00000060| 8d a3 42 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..B.....|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 f5 88 00 00 |........|........| |00000080| 2f 2a 0d 20 2a 20 41 73 | 73 6f 63 69 61 74 65 20 |/*. * As|sociate | |00000090| 61 20 62 75 74 74 6f 6e | 2d 6f 75 74 6c 69 6e 69 |a button|-outlini| |000000a0| 6e 67 20 66 75 6e 63 74 | 69 6f 6e 20 77 69 74 68 |ng funct|ion with| |000000b0| 20 74 68 65 20 67 69 76 | 65 6e 20 69 74 65 6d 2c | the giv|en item,| |000000c0| 20 77 68 69 63 68 20 73 | 68 6f 75 6c 64 0d 20 2a | which s|hould. *| |000000d0| 20 62 65 20 61 20 75 73 | 65 72 20 69 74 65 6d 2e | be a us|er item.| |000000e0| 20 20 54 68 65 20 69 74 | 65 6d 20 6f 75 74 6c 69 | The it|em outli| |000000f0| 6e 65 64 20 77 69 6c 6c | 20 62 65 20 74 68 65 20 |ned will| be the | |00000100| 64 65 66 61 75 6c 74 20 | 69 74 65 6d 2c 20 61 6e |default |item, an| |00000110| 64 20 73 68 6f 75 6c 64 | 0d 20 2a 20 62 65 20 61 |d should|. * be a| |00000120| 20 70 75 73 68 20 62 75 | 74 74 6f 6e 2e 20 20 54 | push bu|tton. T| |00000130| 68 65 20 75 73 65 72 20 | 69 74 65 6d 20 62 6f 75 |he user |item bou| |00000140| 6e 64 69 6e 67 20 72 65 | 63 74 61 6e 67 6c 65 20 |nding re|ctangle | |00000150| 69 73 20 70 6f 73 69 74 | 69 6f 6e 65 64 20 61 6e |is posit|ioned an| |00000160| 64 0d 20 2a 20 73 69 7a | 65 64 20 74 6f 20 73 75 |d. * siz|ed to su| |00000170| 72 72 6f 75 6e 64 20 74 | 68 65 20 64 65 66 61 75 |rround t|he defau| |00000180| 6c 74 20 69 74 65 6d 2e | 0d 20 2a 0d 20 2a 20 54 |lt item.|. *. * T| |00000190| 68 65 72 65 27 73 20 61 | 20 73 75 62 74 6c 65 20 |here's a| subtle | |000001a0| 70 6f 69 6e 74 20 68 65 | 72 65 20 2d 2d 20 74 68 |point he|re -- th| |000001b0| 65 20 6f 75 74 6c 69 6e | 65 20 64 72 61 77 69 6e |e outlin|e drawin| |000001c0| 67 20 70 72 6f 63 20 69 | 73 20 63 61 6c 6c 65 64 |g proc i|s called| |000001d0| 20 77 68 65 6e 20 74 68 | 65 0d 20 2a 20 75 73 65 | when th|e. * use| |000001e0| 72 20 69 74 65 6d 20 72 | 65 63 74 20 69 73 20 62 |r item r|ect is b| |000001f0| 65 63 6f 6d 65 73 20 69 | 6e 76 61 6c 69 64 2c 20 |ecomes i|nvalid, | |00000200| 62 75 74 20 74 68 65 20 | 64 72 61 77 69 6e 67 20 |but the |drawing | |00000210| 70 72 6f 63 20 62 61 73 | 65 73 20 69 74 73 20 63 |proc bas|es its c| |00000220| 61 6c 63 75 6c 61 74 69 | 6f 6e 73 0d 20 2a 20 6f |alculati|ons. * o| |00000230| 6e 20 74 68 65 20 72 65 | 63 74 20 66 6f 72 20 74 |n the re|ct for t| |00000240| 68 65 20 64 65 66 61 75 | 6c 74 20 62 75 74 74 6f |he defau|lt butto| |00000250| 6e 20 69 74 65 6d 2e 20 | 20 54 68 69 73 20 77 6f |n item. | This wo| |00000260| 72 6b 73 20 62 65 63 61 | 75 73 65 20 74 68 65 20 |rks beca|use the | |00000270| 72 65 63 74 20 69 74 0d | 20 2a 20 63 61 6c 63 75 |rect it.| * calcu| |00000280| 6c 61 74 65 73 20 62 61 | 73 65 64 20 6f 6e 20 74 |lates ba|sed on t| |00000290| 68 65 20 62 75 74 74 6f | 6e 20 72 65 63 74 20 69 |he butto|n rect i| |000002a0| 73 20 69 64 65 6e 74 69 | 63 61 6c 20 74 6f 20 74 |s identi|cal to t| |000002b0| 68 61 74 20 6f 66 20 74 | 68 65 20 75 73 65 72 20 |hat of t|he user | |000002c0| 69 74 65 6d 2e 0d 20 2a | 0d 20 2a 20 49 66 20 79 |item.. *|. * If y| |000002d0| 6f 75 20 63 68 61 6e 67 | 65 20 74 68 65 20 62 75 |ou chang|e the bu| |000002e0| 74 74 6f 6e 27 73 20 68 | 69 6c 69 74 69 6e 67 20 |tton's h|iliting | |000002f0| 73 74 61 74 65 2c 20 79 | 6f 75 20 73 68 6f 75 6c |state, y|ou shoul| |00000300| 64 20 6d 61 6b 65 20 73 | 75 72 65 20 74 68 65 20 |d make s|ure the | |00000310| 6f 75 74 6c 69 6e 65 0d | 20 2a 20 69 73 20 72 65 |outline.| * is re| |00000320| 64 72 61 77 6e 20 62 79 | 20 69 6e 76 61 6c 69 64 |drawn by| invalid| |00000330| 61 74 69 6e 67 20 69 74 | 73 20 62 6f 75 6e 64 69 |ating it|s boundi| |00000340| 6e 67 20 72 65 63 74 61 | 6e 67 6c 65 2e 20 20 59 |ng recta|ngle. Y| |00000350| 6f 75 20 63 61 6e 20 61 | 76 6f 69 64 20 75 6e 6e |ou can a|void unn| |00000360| 65 63 65 73 73 61 72 79 | 0d 20 2a 20 72 65 64 72 |ecessary|. * redr| |00000370| 61 77 69 6e 67 20 62 79 | 20 75 73 69 6e 67 20 53 |awing by| using S| |00000380| 6b 65 6c 53 65 74 44 6c | 6f 67 43 74 6c 48 69 6c |kelSetDl|ogCtlHil| |00000390| 69 74 65 28 29 20 6c 69 | 6b 65 20 73 6f 3a 0d 20 |ite() li|ke so:. | |000003a0| 2a 0d 20 2a 09 69 66 20 | 28 53 6b 65 6c 53 65 74 |*. *.if |(SkelSet| |000003b0| 44 6c 6f 67 43 74 6c 48 | 69 6c 69 74 65 20 28 64 |DlogCtlH|ilite (d| |000003c0| 6c 6f 67 2c 20 62 75 74 | 74 6f 6e 49 74 65 6d 2c |log, but|tonItem,| |000003d0| 20 6e 65 77 48 69 6c 69 | 74 65 29 0d 20 2a 09 7b | newHili|te). *.{| |000003e0| 0d 20 2a 09 09 53 6b 65 | 6c 47 65 74 44 6c 6f 67 |. *..Ske|lGetDlog| |000003f0| 52 65 63 74 20 28 64 6c | 6f 67 2c 20 6f 75 74 6c |Rect (dl|og, outl| |00000400| 69 6e 65 49 74 65 6d 2c | 20 26 72 29 3b 0d 20 2a |ineItem,| &r);. *| |00000410| 09 09 49 6e 76 61 6c 52 | 65 63 74 20 28 26 72 29 |..InvalR|ect (&r)| |00000420| 3b 0d 20 2a 09 7d 0d 20 | 2a 2f 0d 0d 23 20 69 6e |;. *.}. |*/..# in| |00000430| 63 6c 75 64 65 09 22 54 | 72 61 6e 73 53 6b 65 6c |clude."T|ransSkel| |00000440| 2e 68 22 0d 0d 0d 2f 2a | 0d 20 2a 20 44 72 61 77 |.h".../*|. * Draw| |00000450| 20 68 65 61 76 79 20 6f | 75 74 6c 69 6e 65 20 61 | heavy o|utline a| |00000460| 72 6f 75 6e 64 20 64 65 | 66 61 75 6c 74 20 64 69 |round de|fault di| |00000470| 61 6c 6f 67 20 62 75 74 | 74 6f 6e 2e 0d 20 2a 2f |alog but|ton.. */| |00000480| 0d 0d 73 74 61 74 69 63 | 20 70 61 73 63 61 6c 20 |..static| pascal | |00000490| 76 6f 69 64 0d 44 72 61 | 77 44 6c 6f 67 42 75 74 |void.Dra|wDlogBut| |000004a0| 74 6f 6e 4f 75 74 6c 69 | 6e 65 20 28 44 69 61 6c |tonOutli|ne (Dial| |000004b0| 6f 67 50 74 72 20 64 2c | 20 73 68 6f 72 74 20 69 |ogPtr d,| short i| |000004c0| 74 65 6d 29 0d 7b 0d 09 | 53 6b 65 6c 44 72 61 77 |tem).{..|SkelDraw| |000004d0| 42 75 74 74 6f 6e 4f 75 | 74 6c 69 6e 65 20 28 53 |ButtonOu|tline (S| |000004e0| 6b 65 6c 47 65 74 44 6c | 6f 67 43 74 6c 20 28 64 |kelGetDl|ogCtl (d| |000004f0| 2c 20 28 28 44 69 61 6c | 6f 67 50 65 65 6b 29 20 |, ((Dial|ogPeek) | |00000500| 64 29 2d 3e 61 44 65 66 | 49 74 65 6d 29 29 3b 0d |d)->aDef|Item));.| |00000510| 7d 0d 0d 0d 70 61 73 63 | 61 6c 20 76 6f 69 64 0d |}...pasc|al void.| |00000520| 53 6b 65 6c 53 65 74 44 | 6c 6f 67 42 75 74 74 6f |SkelSetD|logButto| |00000530| 6e 4f 75 74 6c 69 6e 65 | 72 20 28 44 69 61 6c 6f |nOutline|r (Dialo| |00000540| 67 50 74 72 20 64 2c 20 | 73 68 6f 72 74 20 69 74 |gPtr d, |short it| |00000550| 65 6d 29 0d 7b 0d 73 68 | 6f 72 74 09 74 79 70 65 |em).{.sh|ort.type| |00000560| 3b 0d 48 61 6e 64 6c 65 | 09 68 3b 0d 52 65 63 74 |;.Handle|.h;.Rect| |00000570| 09 72 2c 20 72 4a 75 6e | 6b 3b 0d 73 68 6f 72 74 |.r, rJun|k;.short| |00000580| 09 64 65 66 49 74 65 6d | 3b 0d 0d 09 2f 2a 20 66 |.defItem|;.../* f| |00000590| 69 6e 64 20 64 65 66 61 | 75 6c 74 20 69 74 65 6d |ind defa|ult item| |000005a0| 20 62 6f 75 6e 64 69 6e | 67 20 72 65 63 74 61 6e | boundin|g rectan| |000005b0| 67 6c 65 20 2a 2f 0d 09 | 64 65 66 49 74 65 6d 20 |gle */..|defItem | |000005c0| 3d 20 28 28 44 69 61 6c | 6f 67 50 65 65 6b 29 20 |= ((Dial|ogPeek) | |000005d0| 64 29 2d 3e 61 44 65 66 | 49 74 65 6d 3b 0d 09 47 |d)->aDef|Item;..G| |000005e0| 65 74 44 49 74 65 6d 20 | 28 64 2c 20 64 65 66 49 |etDItem |(d, defI| |000005f0| 74 65 6d 2c 20 26 74 79 | 70 65 2c 20 26 68 2c 20 |tem, &ty|pe, &h, | |00000600| 26 72 29 3b 0d 0d 09 2f | 2a 20 67 65 74 20 75 73 |&r);.../|* get us| |00000610| 65 72 20 69 74 65 6d 2c | 20 70 6f 73 69 74 69 6f |er item,| positio| |00000620| 6e 20 72 65 63 74 61 6e | 67 6c 65 2c 20 61 6e 64 |n rectan|gle, and| |00000630| 20 69 6e 73 74 61 6c 6c | 20 64 72 61 77 20 70 72 | install| draw pr| |00000640| 6f 63 20 75 73 69 6e 67 | 20 69 74 20 2a 2f 0d 09 |oc using| it */..| |00000650| 47 65 74 44 49 74 65 6d | 20 28 64 2c 20 69 74 65 |GetDItem| (d, ite| |00000660| 6d 2c 20 26 74 79 70 65 | 2c 20 26 68 2c 20 26 72 |m, &type|, &h, &r| |00000670| 4a 75 6e 6b 29 3b 0d 09 | 49 6e 73 65 74 52 65 63 |Junk);..|InsetRec| |00000680| 74 20 28 26 72 2c 20 2d | 34 2c 20 2d 34 29 3b 0d |t (&r, -|4, -4);.| |00000690| 09 53 65 74 44 49 74 65 | 6d 20 28 64 2c 20 69 74 |.SetDIte|m (d, it| |000006a0| 65 6d 2c 20 74 79 70 65 | 2c 20 28 48 61 6e 64 6c |em, type|, (Handl| |000006b0| 65 29 20 44 72 61 77 44 | 6c 6f 67 42 75 74 74 6f |e) DrawD|logButto| |000006c0| 6e 4f 75 74 6c 69 6e 65 | 2c 20 26 72 29 3b 0d 7d |nOutline|, &r);.}| |000006d0| 0d 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000700| 00 00 01 00 00 00 02 9c | 00 00 01 9c 00 00 00 46 |........|.......F| |00000710| 05 d2 7a 11 fe a8 67 ed | 86 01 32 d3 50 12 01 da |..z...g.|..2.P...| |00000720| 58 8f 12 70 00 2f 00 5a | 3f 99 02 6f 70 65 6e 12 |X..p./.Z|?..open.| |00000730| 15 53 6b 65 6c 44 6c 6f | 67 42 74 6e 4f 75 74 6c |.SkelDlo|gBtnOutl| |00000740| 69 6e 65 72 2e 63 02 00 | 00 00 50 61 72 74 53 49 |iner.c..|..PartSI| |00000750| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......| |00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000770| 00 00 a9 9f 75 90 00 00 | 00 00 00 00 02 e2 01 00 |....u...|........| |00000780| c2 40 70 00 30 01 4a 80 | 01 66 0e 12 2f 0b 2f 0c |.@p.0.J.|.f.././.| |00000790| 50 12 0f fa 50 8f 6b 01 | 01 30 3e 01 05 2a 7a 79 |P...P.k.|.0>..*zy| |000007a0| 67 80 01 01 20 41 5a 79 | 99 39 42 43 6b 01 01 04 |g... AZy|.9BCk...| |000007b0| 60 42 01 43 12 7f d7 74 | 72 86 01 2b f2 59 72 2c |`B.C...t|r..+.Yr,| |000007c0| 4f 2d 9d 68 54 80 01 00 | d6 7f 7e 74 50 01 1d 2a |O-.hT...|..~tP..*| |000007d0| bd 54 67 8e 01 00 c2 41 | f3 17 fe 3e 2f 08 20 50 |.Tg....A|...>/. P| |000007e0| 20 50 22 68 00 fc 4e 91 | f3 01 fe 3e c0 5f 58 64 | P"h..N.|...>._Xd| |000007f0| 6a c0 5b 58 29 2a 6d 02 | 6c 00 00 8c 51 d7 54 01 |j.[X)*m.|l...Q.T.| |00000800| 00 00 01 52 00 28 00 1e | 02 21 01 3c 00 18 00 00 |...R.(..|.!.<....| |00000810| 04 9f 00 00 04 9f 00 00 | 00 19 00 04 00 09 00 00 |........|........| |00000820| 06 4d 6f 6e 61 63 6f 00 | 00 00 00 00 00 00 00 00 |.Monaco.|........| |00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000860| 04 00 00 04 00 00 00 48 | 00 48 00 00 00 00 02 db |.......H|.H......| |00000870| 02 40 ff e7 ff ee 02 ff | 02 52 1f 03 05 28 03 fc |.@......|.R...(..| |00000880| 00 01 00 00 01 2c 01 2c | 00 00 00 00 0b e7 09 60 |.....,.,|.......`| |00000890| 01 2c 00 2d 05 a0 5e ec | 00 26 04 01 01 01 00 18 |.,.-..^.|.&......| |000008a0| 00 01 27 0f 00 01 00 01 | 00 00 00 00 00 00 00 00 |..'.....|........| |000008b0| 00 00 00 00 00 01 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000008d0| 00 00 01 00 00 02 41 00 | 00 00 00 04 00 09 00 00 |......A.|........| |000008e0| 06 4d 6f 6e 61 63 6f 08 | 00 00 00 00 00 00 00 00 |.Monaco.|........| |000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000920| 00 04 01 00 00 01 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000950| 00 00 00 00 00 00 00 00 | 00 42 00 02 00 00 04 15 |........|.B......| |00000960| 00 00 04 2a 15 44 72 61 | 77 44 6c 6f 67 42 75 74 |...*.Dra|wDlogBut| |00000970| 74 6f 6e 4f 75 74 6c 69 | 6e 65 00 00 04 9f 00 00 |tonOutli|ne......| |00000980| 04 b8 19 53 6b 65 6c 53 | 65 74 44 6c 6f 67 42 75 |...SkelS|etDlogBu| |00000990| 74 74 6f 6e 4f 75 74 6c | 69 6e 65 72 00 00 01 00 |ttonOutl|iner....| |000009a0| 00 00 02 9c 00 00 01 9c | 00 00 00 46 00 3b 9c 74 |........|...F.;.t| |000009b0| 11 a2 00 00 00 1c 00 46 | 00 01 42 42 53 52 00 00 |.......F|..BBSR..| |000009c0| 00 12 4d 50 53 52 00 00 | 00 1e 01 03 ff ff 00 00 |..MPSR..|........| |000009d0| 00 00 00 00 00 00 03 ef | ff ff 00 00 01 56 00 00 |........|.....V..| |000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| +--------+-------------------------+-------------------------+--------+--------+